<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>修改密码</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="css/public.css"/>
		<style type="text/css">
			body{
				background: white;
			}

			/*谷歌*/
			::-webkit-input-placeholder {
				font-size: 15px;
			}
			/*火狐*/
			::-moz-placeholder {
				font-size: 15px;
			}
			/*IE*/
			::-ms-input-placeholder {
				font-size: 15px;
			}
			
			.lists{
				width: 70%;
				margin: 0 auto;
				margin-top: 20px;
				border: 1px solid #c8c7cc;
			}
			
			.mui-input-row label~input, .mui-input-row label~select, .mui-input-row label~textarea {	   
			    width: 100%;
			}
			.mui-input-group .mui-input-row:after {
			    left: 0;
			}
			
			.mui-btn{
				display: block;
				width: 70%;
				background: red;
				margin: 0 auto;
				margin-top: 35px;
				color: white;
			}
		</style>
	</head>

	<body>
		
		<!-- 头部 -->
		<header id="header" class="mui-bar mui-bar-nav">
	        <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
	        <h1 class="mui-title">完善信息</h1>
	    </header>
	   
		
		<div class="mui-content" style="background: white;">
			<div class="lists">
				<div class="mui-input-group" id="input_example">
					
			   		<div class="mui-input-row">
				        <input type="text" class="mui-input-clear" placeholder="请输入会员ID">
				    </div>
				    
				    <div class="mui-input-row">
				        <input type="text" class="mui-input-clear" placeholder="请输入会员电话">
				    </div>
				    
				    <div class="mui-input-row">
				        <input type="password" class="mui-input-clear" placeholder="请输入密码">
				    </div>
				    
				    <div class="mui-input-row">
				        <input type="password" class="mui-input-clear" placeholder="请确认密码">
				    </div>
				</div>
			</div>
			<button type="button" class="mui-btn" onclick="tijiao()">确认</button>
			
		</div>
		
		
		
		
		
		
		
		
		
		
		
		
		<script src="js/mui.min.js"></script>
		<script src="js/jquery.min.js"></script>
		<script type="text/javascript">
			mui.init()
			
			
			
			function tijiao(){
				var check = true;
				mui("#input_example input").each(function() {
				//若当前input为空，则alert提醒 
				if(!this.value || this.value.trim() == "") {
				    var label = $(this).attr("placeholder");;
				    mui.alert(label);
				    check = false;
				    return false;
				}
				}); 
				if(check){
				    mui.alert('验证通过!')
				}
			}
		</script>
	</body>

</html>